package com.financial.business.yspay.dto.split;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author WANGNING
 * @Email wyn20140226@aliyun.com
 * @Description //TODO
 * @Date 2019/11/18 10:38
 */
public class YsSpiltDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 原订单号
     */
    private String out_trade_no;

    /**
     * 主商户号
     */
    private String payee_usercode;

    /**
     * 原订单交易金额
     */
    private BigDecimal total_amount;

    /**
     * 原订单是否参与分账01：是，02否
     */
    private String is_divistion;

    /**
     * 是否重新分账
     */
    private String is_again_division;

    /**
     * 分账模式
     */
    private String division_mode;

    /**
     * 分账明细
     */
    private List<YsDivListDTO> div_list;

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getPayee_usercode() {
        return payee_usercode;
    }

    public void setPayee_usercode(String payee_usercode) {
        this.payee_usercode = payee_usercode;
    }

    public BigDecimal getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(BigDecimal total_amount) {
        this.total_amount = total_amount;
    }

    public String getIs_divistion() {
        return is_divistion;
    }

    public void setIs_divistion(String is_divistion) {
        this.is_divistion = is_divistion;
    }

    public String getIs_again_division() {
        return is_again_division;
    }

    public void setIs_again_division(String is_again_division) {
        this.is_again_division = is_again_division;
    }

    public String getDivision_mode() {
        return division_mode;
    }

    public void setDivision_mode(String division_mode) {
        this.division_mode = division_mode;
    }

    public List<YsDivListDTO> getDiv_list() {
        return div_list;
    }

    public void setDiv_list(List<YsDivListDTO> div_list) {
        this.div_list = div_list;
    }

    public YsSpiltDTO() {
        super();
    }

    public YsSpiltDTO(String out_trade_no, String payee_usercode, BigDecimal total_amount, String is_divistion, String is_again_division, String division_mode, List<YsDivListDTO> div_list) {
        this.out_trade_no = out_trade_no;
        this.payee_usercode = payee_usercode;
        this.total_amount = total_amount;
        this.is_divistion = is_divistion;
        this.is_again_division = is_again_division;
        this.division_mode = division_mode;
        this.div_list = div_list;
    }
}
